package genDoc;

import org.jdom.Document;
import org.jdom.Element;

import command.CommandConstants;

public class VideoChatAskDocGen {
	public static Document genDoc(String from, String to){
		Document doc = new Document();
		Element root = new Element(CommandConstants.CMD_VIDEO_CHAT_ASK);
		root.setAttribute(CommandConstants.ATTR_FROM_USER_NAME, from);
		root.setAttribute(CommandConstants.ATTR_TO_USER_NAME, to);
		doc.setRootElement(root);
		
		return doc;
	}
}
